added auto filename in save dialog
added class model