add focus and messageBox for create smart link