Change clear to cancel. Toggle close the window on cancel and
save. Remove reference to action-stack in the html.