Add the required elements to enable our user to specify a path where the archive file needs to be saved (input) and post the messages to the server (event button for archiveChat):
- <input id="archivePath" type="text" class="form-control" />
- <button class="btn btn-info" onclick="archiveChat()">Archive Chat</button>