Hide add platform form when all platforms have been added to a host.

- also added doc blocks to class