got modal view to work now just have to finish the layouts etc