I have found that when
GenerateDocument is called from a button within a complex interface that the function does not work, i.e. nothing happens, and the front end "stalls".
GenerateDocument["ExampleData/BasicTemplate.nb", <|"author" -> "Henry Jones"|>
I use the term "stall"s because the symptoms are different from a front end freeze where you typically, on OS X, see the spinning rainbow wheel. The front end is inactive for a period of time but no rainbow wheel.
GenerateDocument typically wants to create a temporary cell with a progress bar, so if that is not possible within the interface could this be the cause of the problem? If so how do I fix it?