Added ngDialog for showing the modal. Continue to convert lightbox to angularjs