The dialog now remembers its position in OSX. Fixed folding. Fixes #3