fix #53 display PDF in embedded modal instead of loading a new page