Adocmaster, adocdetail and ng table

I don't like the idea of having specific code for modules. we already have too much of that.

I have made a modification to this part of the code which should permit you to add your functionality here without modifying this code. Please read the (brief) explanation I give here and try to implement your functionality that way.

http://corebos.org/documentation/doku.php?id=en:devel:corebos_hooks#popup_capture_hook

Let me know if you need any help or run into any problems.