When tmpl=componant, we are not in modal mode