Fixed regex and made URLs show up in custom dialog