[vim] Do not open prompt if no cm.openDialog