window new database doesn't block on cancel