Adds basic animation for edit and then cancel buttons