hide configuration dialog if toolbar button is pressed