add some controls for the new dialog
rm one useless file