Small tweak to disable Advanced button in ButtonEditDialog when advanced dialog window is open.