Close tab

In Window menu click Close. Current tab will be closed. Saving confirmation dialog will be showed when text is not saved