createDialog([template_url],{
  id : [modal_id],
  title: [modal_title],
  backdrop: [backdrop_visible],
  success: [modal_success_button],
  controller: [modal_controller],
  backdropClass: [modal_backdrop_class],
  footerTemplate: [modal_footer_template],
  modalClass: [modal_class]
}, {modal_custom_data});
Where,
{label: '[label_of_button]', fn: '[function_on_click]'}