Working Save and Edit action