Removing JDialog messages from the server side