This is because Dreamweaver sets a wake timer, which prevents the computer from going in to Sleep mode.
If you quit Dreamweaver, the wake timer is cleared and the computer goes into Sleep mode, as expected.
Note:
Setting "Allow Wake Timers" to Disabled in Advanced Power Setting does not resolve this issue.