Added save action to editor