refactored add bookmark modal so it can be used for editting bookmark