Cancel edit and new without AJAX