Revert "[MODIFY] Need to detach window to upload images."

This reverts commit 95b601582b391aabaad5e4d8b753b40e69831868.
[MODIFY] hide a button for upload on Mac/Linux
[MODIFY] some changes about listsCache