[#62017678] Added prevent default to make modals not click elements behind the modal