fixed close notes modal bug