Allowed all orientations of link dialog page. Fixed url matching to match also together links not having last forward slash