Add titles to revert and delete dialogs.

#2512 

@dinhviethoa