implemented filterdialog behaviour for windows7, todo: similar behavior for previous windows versions