Implemented first version of merge popup.