migrated add materie dialog to material-dialog
working on #4