added template pdf
working on dialog boxes