angularui 0.6.0 merge dialog to modal, temporary fix them to get rid of run time error