Prevent modals from closing when background is clicked