add hook on invoice form
Merge branch 'master' into audited
show div above of cursor to prevent it getting out of screen, refs #4462