added openSaveDialog in mac os x