Export div disappears when user clicks outside of it.