Tab closes after note deletion