Made dialog content load by ajax and for this add require css and js plugin.