Close modals when you click outside of them.
Merge fix