Disable closing of modals with forms when clicking outside the box