added static appointment dialog to views