init project with dialog fragment