Sorted out issues with pic_picker dialog