$.magnificPopup.close() shouldn't throw an exception if theres no instance
Merge pull request #221 from mjlescano/master

$.magnificPopup.close() shouldn't throw an exception if there's no instance