made dialog template more generic
made dialog more generic
pathway button added