fix bug

- add action formgenerator
- fix bug, if no resource is selected but a file is selected the switch to the newform action goes wrong
- show an warning page if no patient is selected in alsfrs form