Add discard and edit actions