How do I prevent the warning for closing multiple tabs at once from displaying?