====
TODO
====

- dialog issues

  - inserLink, 
  
    - setFocus or getSelectedText does not really work, it seems that all text
      get selected

  - updateMedia
  
    - insert works but it will append the media to the end. Selecting the
      cursor position and bring them back does not work
  
  - flash
  
    - position doesn't work
  
    - insert a second movie removes the link from the first movie