Add delete button to the edit post dialog