Add a permission action and make the permission-viewing button open only one tab (will switch to the tab if already opened)