fixes for firefox and error message shown when adding records

Signed-off-by: Jochen Maes <jochen@sejo-it.be>