Updated so that showSheet without a service can still attach images