Implemented support for filter, initial folder and open or save dialog.