changed libraryname to id, error with setupmodal..
merged with antons version