fix cancel button on add host form
remove unnecessary code from hosts module
fix modal so it hides when using back button
show loading bar while fetching modal content