add dialog but style is not good