#18965 Fix for modal windows when clicking with select2 active caused window to hide.
Fix