Removed unnecessary input values and added cancel button