layout and functionality of gateway callout and edit view