remove dialog directive
remove unnecessary argument