updated isUrl widget to new layout