I'm working on a new approach to my modals that when a user opens multiple modals they merge with tabs for each one.
This works great to switch between modals without having to close one or drag them off to opposite corners of the screen to see both.
One problem I'm noticing however is if you click too fast multiple times (which people tend to do for no apparent reason example 1 example 2) they can end up closing multiple windows because the 'X' from the next modal slides to where the closed one was.
I was thinking about either adding a delay or slow transition to the tab sliding over but that just feels slow and adding unnecessary lag. I could also disable the second 'X' for a short time, but what if the user wants to rapidly close them all.
Is there a better solution or will this just have to be something the user has to learn not to rapidly click.