Ensures that the dialog when creating an archive from Dolphin is centered in the Dolphin window (cherry picked from commit 96601a5e)