Fixed "Save&Close" and "Cancel" buttons in gallery editor.