Added error dialog to activitydocument rename.