disable ok button in case of wrong values for basis atoms

disable the ok button in case of wrong values for the atom based basis
instead of displaying a error message when the butten is already licked.