add dialog part to framework util