Add code format.
Add confirm button validation.