Added alerts that ask for confirmation for the Revert Changes button and the "hide keyboard when tapping outside" action.