Custom Modal form closes as soon as I click on it.

What could be the reason why the modal form I made as a custom with my codes I shot as a video closes automatically when I switch to the side tab?
Was this page helpful?