forgot to check if the close event is skippable