Images in posts opening a modal window with custom html inside