save and save as actions opens file dialog