kernelshark: Have stop dialog close when command is finished When the trace-cmd record command finishes, close the stop dialog. Luckily we know when it finishes because the command will close the pipe which will cause the monitor_pipes thread to detect it. Then it will close the dialog box by emitting the delete-event signal to it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>