add themodal dialog