removed unneeded logging
exit dialog