Make AccountEntries deal-based.
Using dXXX instead of XXX as deal_id.
Modify element id in detail window.
Modify link anchors.