handle no modal case