ui: Fix missing <html> tag for client panel
ui: Add closing div for attached files block

Fixes #356