making detail a modal view so have to close to see tab bar again