Hide/show settings dialog as appropriate