 This phase II trial is studying the side effects and how well dinaciclib works in treating patients with stage IV melanoma. Dinaciclib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. 