made the patron dialog responsive