NMS-6971 only pop up the dialog if GUI is enabled