created dialog to insert user data