- new styles added
- old code removed
- formatting text for better exibition
changed close button behavior; now it hides the dialog instead of backing to previous state