distinguish between creation & update in layouts and pass site_id to click_action if available