comments: bind modal on record tab change

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