Close the error jdialog on add