listen for a contextmenucancelled event