Refactor for better code clarity
Return an appropriate message when a dialogue is successfully retrieved