Prevent duplicate tabs from being opened