fix image preview top position bug, fix modal not display with no caption