Because the name of the library you want to attach has the same name as the existing library, just change the name.
CREATE DATABASE [rename database name] ON
(FILENAME = N'D:\tmp.mdf'),
(FILENAME = N'D:\tmp_log.ldf')
FOR ATTACH
--------------------
In your picture, give it a random name after "Attach as"
Or add it to the existing Right-click on the library -> Rename to rename the original library