add dialog image type filter for windows & cleanup