Removed space and removed unused dialog