Trigger its execution at the document loading, if there are "top level" scripts, and when a script action is activated. svn path=/trunk/KDE/kdegraphics/okular/; revision=796637