Alert message instead of appending for non-numbers