Added dialog box that displays list of documents in a subset. Also fixed gui bug.