Make sure ErrorPopup appears on top of everything else.
(cherry picked from commit 6dc175ca00f5d5cb6f328dd3a13974d35d5e0f35)