Vignesh suggests to have a better param name. Modal is better then popup...

.... subformat is not workng on my machine (method not found)  but i still keep subformat there.