dialog works except you can't move or resize it