added modal for public user view