changing <a> for <button> so the validation really works