SWC-1567

Converting the Sharing Dialog to bootstrap components rather than gxt.
add special handling for public