fixed some bugs in file-picker due to shared code in filemanager
can now pick an image from object
bugfix: could not close tinymce window
support for drop downs. including using functions for giving the options