Cleaning up click listeners, and preventing closing by clicking on links inside