add functionality to cancel button on post edit