disable resize property and maximize button