Fix visual bug when adding new statement
Clear dialogs in document proposals. Also truncate long urls.