[Panel Configuration] Close when pressing Escape
When pressing Escape the "More Settings" menu is closed, if opened, and then the dialog itself will close.
Differential Revision: https://phabricator.kde.org/D1716