fixed dependencies
trigger closepopover on view switch
bugfix