packery for media dialog