Remove popup when the line is removed