I would like to open popup in a active popup.
But the below way is not possible using "inline" type.
$(\'.popup2\').magnificPopup({