When you close a floating window, the focus stays on the floating layer rather than going back to the previous window.
This is annoying if you have a confirmation/auth/zenity popup, as closing the popup will move your focus to another floating window (e.g., floating picture in picture video) even if that was not your intention.
It should ideally go back to the last focused window instead, whether it was tiling or floating.
System Information