Updated magnificant popups
Updated code for magnificant popups