Bug 2282 weird share dialog

Fixed the weird looking share dialog and also updated the share history list (now actually tested with more than one item =) ).