Changed popup window closing if numbeformatexception is thrown for dive time and interval