Closes this notebook or window.