Remove views after canceling new or edit item