Changed Save as dialog
Cleaned Code