added new fields for v5
let back button close
added basic functionality for new v5 fields