disable graphical dialogue boxes