windowManager: Use MetaWindow.has_attached_dialogs()
Now that MetaWindow itself exposes a method for checking for attached dialogs, we can use that instead of our own helper method.
Now that MetaWindow itself exposes a method for checking for attached dialogs, we can use that instead of our own helper method.