Reset form fixes.

Fix reset form button.