Adam,
i'm using version 5.2
I have added the line as you discribed - after i did this SOME dialogs were working (bevor i did this NONE of the dialogs where working).
NOT WORKING dialogs: insert image (advanced), insert media, insert flash, insert pdf