remove current element from datasource on cancel.