Fixed the bug that caused JDialog for invalid Cell selection to overcall