Add delete and revert buttons.