check for popup behaviour