added cancel button for create view
fixed bug introduced in cancel-button commit