[Qt WK2] Disable/enable mouse events when displaying dialogs only for desktop view