HTTP Timeout and Bugged Dialogs fixed

Added an HTTP timeout at 10s, as well as a problem where locking dialogs like loading and alert were closeable by touching outside.