Close modal after inserting emoticon.