MDL-62658 message_popup: fixed issue with malformed URL being generated