init a modal view