Made the tray icon part of the dialog