fixing note view modal.close/release issue