Fixed bug where invalid command spawned empty dialog