Added more information on exception when closing alert in bb codes tests.