fire selected before close. #835