Fix for invite dialog being behind the overlay.