- revert incorrect change
- use FileDialog styles which work for 2.8+