added cancel and reload button, tweaked URL validation