comments: modal dialog fix

* Actually removes modal elements on modal close, not just hides them, resulting
in duplication.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
registry: namespace fix

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>