Distinguish close and merge actions