Added a confirmation dialog when closing all tabs