Ask for pending action before closing window
Step 1: Open Pamac.
Step 2: Mark some changes (i.e. mark some packages to be added/removed/reinstalled without clicking "apply" button).
Step 3: Close the window.
Expected behavior
Pamac should warn user about pending actions and ask if they still want to close the window.
Current behavior
It closes immediately.