date picker design and removing outline from dialog
refactoring the dialog