Finished modal. TODO: async loading of PDF