only load modal and magic when user can use ipe. remove media el styling