Module template; edit survey modal dialog; fixed bug with survey urls