fixed some warnings with the dialog