add dialog and ellipsis