Minor sharedialog.ui fixes
Check box public link now works multiple times

When deleting a share (public link) and recreating it we need to store the new
id.