Fix bug 298 by enhancing signal and trace popup behavior