Fixed listBox behaviour with confirm message