openModal(){ const token = this.props.token ModalManager.open(<CreateAlbumModal onRequestClose={()=>true} token={token} style={STYLE} createAlbum={this.props.actions.dataCreateAlbum.bind(this)}/>) }
handleSubmit() { const photo = this.props.photo; photo.caption = this.state.body; this.props.createPhoto(photo); ModalManager.close(); }