In the latest beta (1.7.0) a new dialog was added to confirm closing the tab, but there is no setting to disable it and restore the old behaviour.
Due to my workflow this dialogue box is very annoying, and I don't understand why it is enabled by default without any option to disable it.