have gettagsfromdb use its own db reference
correct copy bug, correct tagid of popup window