UI added as dialog box. Submenu added