Calling the same custom made dialog from multiple locations and changing the content