Changed menu system to dialog