panel automatically closes after selecting new link